package com.wh.base.sys.dict.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统字典
 * </p>
 *
 * @author WangHong
 * @since 2022-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict")
@ApiModel(value="Dict对象", description="系统字典")
public class Dict implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模块名")
    private String moduleName;

    @ApiModelProperty(value = "模块描述")
    private String moduleDesc;

    @ApiModelProperty(value = "字典值")
    private String val;

    @ApiModelProperty(value = "字典描述")
    private String description;

    @ApiModelProperty(value = "是否允许修改,0:允许, 1:不允许")
    private String allowedUpdate;

    @ApiModelProperty(value = "是否删除,0:否,1:是")
    private String deleteFlag;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;


}
